package com.vcredit.creditcat.manager.product;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.api.product.IProductManager;
import com.vcredit.creditcat.dto.product.ProductDetailDto;
import com.vcredit.creditcat.service.product.ProductService;

@Service(protocol={"protocol1"}, version="1.0")
public class ProductManager implements IProductManager{
	
	@Autowired
	private ProductService productService;

	@Override
	public ProductDetailDto detail(Long productId) {
		return productService.detail(productId);
	}

}
